package com.ea.admin.service;

import com.ea.admin.pojo.vo.account.ContactAdminVo;
import com.ea.admin.pojo.vo.department.DepartmentVo;

import java.util.List;

public interface DeptPermissionService {

    List<DepartmentVo> getDeptPermission(List<Long> companyIdList, Long accountId);

    List<Long> getDepartmentIdList(Long accountId);

    void checkAccountDept(Long accountId, Long deptId);

    void checkDeptPermission(Long accountId, Long deptId);

    void addDeptPermission(Long accountId, Long deptId);

    void addDeptPermission(List<Long> accountIdList, Long deptId);

    List<Long> getAdminId(Long deptId);

    void deleteDeptPermissionByAccountId(Long accountId);

    void checkIsDeptContact(Long accountId);

    List<ContactAdminVo> getAllAdminInfoByCompanyIdAndName(Long companyId, String contactName);

    void addDeptPermission(Long accountId, List<Long> deptPermissionList);

    void checkContactDept(Long accountId, List<Long> deptPermissionList);

    List<Long> getSubDepartmentIdList(Long accountId, List<Long> companyIdList, List<Long> deptIdList);

    boolean checkDepartmentExists(Long deptId);
}
